package com.blank.shop.hystrix;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;

/**
 * org.springframework.cloud.netflix.hystrix.EnableHystrix 已经包含了 org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker
 * <br/>Date 2021/8/31
 * <br/>Time 13:51:34
 *
 * @author _blank
 */
@EnableHystrix
@SpringBootApplication
public class ShopHystrixApplication {

    public static final String SERVER_CONSUMER = "consumer";
    public static final String SERVER_PROVIDER = "provider";

    public static final String SERVER_PROVIDER_NAME = "blank-shop-hystrix-provider";

    public static void main(String[] args) {
        SpringApplication.run(ShopHystrixApplication.class, args);
    }

}
